package com.mashibing.serviceprice.remote;

import org.mashibing.dto.ResponseResult;
import org.mashibing.request.ForecastPriceDTO;
import org.mashibing.response.DirectionResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author:
 * @create: 2024/4/10 14:46
 * @description:
 */
@FeignClient("service-map")
public interface ServiceMapClient {

    @GetMapping("/direction/driving")
    ResponseResult<DirectionResponse> driving(@RequestBody ForecastPriceDTO forecastPriceDTO);
}
